﻿using cmdb.keede.common;
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace cmdb.keede.entity
{
    public partial class ApplicationInfo
    {
        public ApplicationInfo()
        {
            ApplicationVirtualHosts = new HashSet<ApplicationVirtualHost>();
        }
        public int Id { get; set; }
        public string Name { get; set; }
        public int? BusinessId { get; set; }
        public string Description { get; set; }
        public EnumApplicationType Type { get; set; }
        public string Port { get; set; }
        public string PICName { get; set; }
        public string PICId { get; set; }
        public DateTime CreateTime { get; set; } = DateTime.Now;
        public EnumApplicationStatus Status { get; set; }
        public BusinessInfo Business { get; set; }
        public User PIC { get; set; }
        public ICollection<ApplicationVirtualHost> ApplicationVirtualHosts { get; set; }
    }
}
